package com.zx.service;

import com.zx.bean.BillType;
import com.zx.dao.TypeMapper;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @Author CaesarChang张旭
 * @Date 2020/11/11  10:13 上午
 * @Version 1.0
 */
@Service
public class TypeService {
    @Resource
    private TypeMapper typeMapper;

    public List<BillType> list() {
        return typeMapper.selectAll();
    }
}
